inspector: Adapt to dropdown api change
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Jun 2020 20:40:54 +0000 (16:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 25 Jun 2020 20:42:30 +0000 (16:42 -0400)
The suppported syntax for dropdowns in ui files
has changed. Get with the program.

gtk/inspector/visual.ui

index 37435740895bd6ba2945442aa3a74f3480f7285d..8dece056b5614b485d40fa8a7e0aeef70d8012e9 100644 (file)
                                     <property name="valign">baseline</property>
                                     <property name="hexpand">1</property>
                                     <signal name="notify::selected" handler="direction_changed"/>
-                                    <items>
-                                      <item translatable="yes">Left-to-Right</item>
-                                      <item translatable="yes">Right-to-Left</item>
-                                    </items>
+                                    <property name="model">
+                                      <object class="GtkStringList">
+                                        <items>
+                                          <item translatable="yes">Left-to-Right</item>
+                                          <item translatable="yes">Right-to-Left</item>
+                                        </items>
+                                      </object>
+                                    </property>
                                   </object>
                                 </child>
                               </object>